import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'businessId',
    type: 'input',
    label: translate('xfdh'),
    placeholder: translate('xfdhPlace')
  },
  {
    filed: 'code',
    type: 'select',
    label: translate('xflx'),
    placeholder: translate('xflx'),
    valueCode: 'id',
    labelCode: 'name',
    options: []
  },
  {
    filed: 'type',
    type: 'select',
    label: translate('szlx'),
    placeholder: translate('qxz'),
    options: [
      { label: translate('sr'), value: '0' },
      { label: translate('zhichu'), value: '1' }
    ]
  }
  // {
  //   filed: 'payMethod',
  //   type: 'select',
  //   label:translate('payMethod'),
  //   placeholder: '请选择支付方式',
  //   options: []
  // }
]
export const queryFormConfig = {
  formItems,
  online: true
}
